package io.github.biezhi.elves.service;

import java.util.List;

import io.github.biezhi.elves.fsggzy.model.FsBiddingList;
import io.github.biezhi.elves.fsggzy.model.FsDownloadBiddingHtml;
import io.github.biezhi.elves.fsggzy.model.FsRecordBiddingNotice;

public interface FsggzyService {

	/**
	 * 保存佛山记录各个网址网址数据
	 * @param fsRecordBiddingNotice
	 */
	void saveFsRecordBiddingNotice(FsRecordBiddingNotice fsRecordBiddingNotice);

	/**
	 * 查看相同noticeDetailUrl条数
	 * @param noticeDetailUrl
	 * @return
	 */
	Integer countByUrl(String noticeDetailUrl);

	/**
	 * 根据公告类型和发布日期查询记录表
	 * @param noticeType
	 * @param pubdate
	 * @return
	 */
	List<FsRecordBiddingNotice> findRecordByNoticeTypeAndDate(String noticeType, String date);

	/**
	 * 保存FsDownloadBiddingHtml对象到t_download_fs表中
	 * @param fsDownloadBiddingHtml
	 */
	void saveFsDownloadBiddingHtml(FsDownloadBiddingHtml fsDownloadBiddingHtml);

	/**
	 * 查看相同noticeDetailUrl条数
	 * @param noticeDetailUrl
	 */
	Integer countByDownloadUrl(String noticeDetailUrl);

	/**
	 * 查询t_download_fs表所有数据
	 * @return
	 */
	List<FsDownloadBiddingHtml> listDownloadHtml();

	/**
	 * 新增fsbiddingList对象
	 * @param fsbiddingList
	 */
	void saveFsbiddingList(FsBiddingList fsbiddingList);

}
